package com.sghj.SysPermission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xrx
 * @since 2022-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_rolemenu")
@ApiModel(value="SysRolemenu对象", description="")
public class SysRolemenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色菜单ID")
    @TableId(value = "RoleMenuId", type = IdType.AUTO)
    private Integer RoleMenuId;

    @ApiModelProperty(value = "关联Sys_Role")
    @TableField("SysRoleId")
    private Integer SysRoleId;

    @ApiModelProperty(value = "关联Sys_Menu")
    @TableField("MenuId")
    private Integer MenuId;

    @ApiModelProperty(value = "角色用户许可")
    @TableField("RolePermission")
    private String RolePermission;

    @ApiModelProperty(value = "备注")
    @TableField("Memo1")
    private String Memo1;

    @ApiModelProperty(value = "备注")
    @TableField("Memo2")
    private String Memo2;


}
